<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>VisualStudioCode | lilei</title>
    <meta name="generator" content="VuePress 1.8.2">
    <link rel="icon" href="/images/icons/logo.png">
    <link rel="apple-touch-icon" href="/images/icons/logo.png">
    <link rel="manifest" href="/manifest.json">
    <script type="text/javascript" src="/assets/js/load.js"></script>
    <meta name="description" content="个人网站">
    <meta name="image" content="https://github.com/SvenZhao/var-translation/raw/master/images/vscode1.gif">
    <meta name="twitter:title" content="VisualStudioCode">
    <meta name="twitter:description" content="">
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:image" content="https://github.com/SvenZhao/var-translation/raw/master/images/vscode1.gif">
    <meta name="twitter:url" content="http://www.lileiblog.xyz/IDE/VisualStudioCode.html">
    <meta property="og:type" content="article">
    <meta property="og:title" content="VisualStudioCode">
    <meta property="og:description" content="">
    <meta property="og:image" content="https://github.com/SvenZhao/var-translation/raw/master/images/vscode1.gif">
    <meta property="og:url" content="http://www.lileiblog.xyz/IDE/VisualStudioCode.html">
    <meta property="og:site_name" content="lilei">
    <meta itemprop="name" content="VisualStudioCode">
    <meta itemprop="description" content="">
    <meta itemprop="image" content="https://github.com/SvenZhao/var-translation/raw/master/images/vscode1.gif">
    <meta name="theme-color" content="#3eaf7c">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="msapplication-TileImage" content="/images/icons/logo.png">
    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="keywords" content="lilei,vue,vuepress,vuepress-theme,theme,主题,vuepress主题,blog
        ,vuepress-blog,java,python,shell,sql,golang,script,shell script,nginx,windows,去广告,androd,google drive
        ,one drive,idea,eclipse,git,小程序">
    <meta name="referrer" content="never">
    
    <link rel="preload" href="/assets/css/0.styles.8932179b.css" as="style"><link rel="preload" href="/assets/js/app.269009d6.js" as="script"><link rel="preload" href="/assets/js/3.974b9720.js" as="script"><link rel="preload" href="/assets/js/23.f50adb15.js" as="script"><link rel="prefetch" href="/assets/js/10.5915e99b.js"><link rel="prefetch" href="/assets/js/11.ff732762.js"><link rel="prefetch" href="/assets/js/12.8bb86d91.js"><link rel="prefetch" href="/assets/js/13.18bde5b0.js"><link rel="prefetch" href="/assets/js/14.314fae34.js"><link rel="prefetch" href="/assets/js/15.0a4ff48f.js"><link rel="prefetch" href="/assets/js/16.ffaf1503.js"><link rel="prefetch" href="/assets/js/17.49a31a6e.js"><link rel="prefetch" href="/assets/js/18.7e6443bf.js"><link rel="prefetch" href="/assets/js/19.6880cc9a.js"><link rel="prefetch" href="/assets/js/20.1fb3f255.js"><link rel="prefetch" href="/assets/js/21.0cd39eea.js"><link rel="prefetch" href="/assets/js/22.392d85cb.js"><link rel="prefetch" href="/assets/js/24.43e324e1.js"><link rel="prefetch" href="/assets/js/25.e3663205.js"><link rel="prefetch" href="/assets/js/26.da141fb8.js"><link rel="prefetch" href="/assets/js/27.6c05235a.js"><link rel="prefetch" href="/assets/js/28.c124245a.js"><link rel="prefetch" href="/assets/js/29.d185870d.js"><link rel="prefetch" href="/assets/js/30.8587d422.js"><link rel="prefetch" href="/assets/js/31.dc382b56.js"><link rel="prefetch" href="/assets/js/32.20ba32e9.js"><link rel="prefetch" href="/assets/js/33.6ecd7de9.js"><link rel="prefetch" href="/assets/js/34.2b91c13a.js"><link rel="prefetch" href="/assets/js/35.66ed0733.js"><link rel="prefetch" href="/assets/js/36.ce7bca84.js"><link rel="prefetch" href="/assets/js/37.d00bb5ac.js"><link rel="prefetch" href="/assets/js/38.c3ecbb6f.js"><link rel="prefetch" href="/assets/js/39.308f4175.js"><link rel="prefetch" href="/assets/js/4.520f6ecc.js"><link rel="prefetch" href="/assets/js/40.f4b98bc2.js"><link rel="prefetch" href="/assets/js/41.95fae64f.js"><link rel="prefetch" href="/assets/js/42.fe4f877b.js"><link rel="prefetch" href="/assets/js/43.ca8f222e.js"><link rel="prefetch" href="/assets/js/44.4d4ee79e.js"><link rel="prefetch" href="/assets/js/45.79178b33.js"><link rel="prefetch" href="/assets/js/46.c3817d0b.js"><link rel="prefetch" href="/assets/js/47.b8252443.js"><link rel="prefetch" href="/assets/js/48.df9d5d3b.js"><link rel="prefetch" href="/assets/js/49.d812fdb2.js"><link rel="prefetch" href="/assets/js/5.f1a24a16.js"><link rel="prefetch" href="/assets/js/50.55cfcaa8.js"><link rel="prefetch" href="/assets/js/51.b8608b02.js"><link rel="prefetch" href="/assets/js/52.52c5e00d.js"><link rel="prefetch" href="/assets/js/53.3a9bd5fb.js"><link rel="prefetch" href="/assets/js/54.a4240c13.js"><link rel="prefetch" href="/assets/js/55.01c4b876.js"><link rel="prefetch" href="/assets/js/56.f29549a3.js"><link rel="prefetch" href="/assets/js/57.01438a04.js"><link rel="prefetch" href="/assets/js/58.29bb4626.js"><link rel="prefetch" href="/assets/js/59.e8b89408.js"><link rel="prefetch" href="/assets/js/6.8c478b39.js"><link rel="prefetch" href="/assets/js/60.bedb5381.js"><link rel="prefetch" href="/assets/js/61.bdfbe584.js"><link rel="prefetch" href="/assets/js/62.cb825d1a.js"><link rel="prefetch" href="/assets/js/63.a9516572.js"><link rel="prefetch" href="/assets/js/64.aa854ed7.js"><link rel="prefetch" href="/assets/js/65.285f883d.js"><link rel="prefetch" href="/assets/js/66.12849f37.js"><link rel="prefetch" href="/assets/js/67.c18b00e4.js"><link rel="prefetch" href="/assets/js/68.fa59daa9.js"><link rel="prefetch" href="/assets/js/69.e9d5dda4.js"><link rel="prefetch" href="/assets/js/7.cfb0d0ea.js"><link rel="prefetch" href="/assets/js/70.db126cce.js"><link rel="prefetch" href="/assets/js/71.6acb04cd.js"><link rel="prefetch" href="/assets/js/72.7ff0ab11.js"><link rel="prefetch" href="/assets/js/73.9a66da79.js"><link rel="prefetch" href="/assets/js/74.0a38a030.js"><link rel="prefetch" href="/assets/js/75.7b32dbb3.js"><link rel="prefetch" href="/assets/js/8.cb9c08e5.js"><link rel="prefetch" href="/assets/js/9.ad652cfe.js"><link rel="prefetch" href="/assets/js/vendors~flowchart.110a1065.js">
    <link rel="stylesheet" href="/assets/css/0.styles.8932179b.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><img src="/images/icons/logo.png" alt="lilei" class="logo"> <span class="site-name can-hide">lilei</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/Form/" class="nav-link">
  Form
</a></div><div class="nav-item"><a href="/IDE/" class="nav-link router-link-active">
  IDE
</a></div><div class="nav-item"><a href="/Java/" class="nav-link">
  Java
</a></div><div class="nav-item"><a href="/Other/" class="nav-link">
  Other
</a></div><div class="nav-item"><a href="/Python/" class="nav-link">
  Python
</a></div><div class="nav-item"><a href="/SQL/" class="nav-link">
  SQL
</a></div><div class="nav-item"><a href="/Shell/" class="nav-link">
  Shell
</a></div><div class="nav-item"><a href="/System/" class="nav-link">
  System
</a></div> <a href="https://github.com/woytu/notes-vuepress" target="_blank" rel="noopener noreferrer" class="repo-link">
    GitHub
    <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/Form/" class="nav-link">
  Form
</a></div><div class="nav-item"><a href="/IDE/" class="nav-link router-link-active">
  IDE
</a></div><div class="nav-item"><a href="/Java/" class="nav-link">
  Java
</a></div><div class="nav-item"><a href="/Other/" class="nav-link">
  Other
</a></div><div class="nav-item"><a href="/Python/" class="nav-link">
  Python
</a></div><div class="nav-item"><a href="/SQL/" class="nav-link">
  SQL
</a></div><div class="nav-item"><a href="/Shell/" class="nav-link">
  Shell
</a></div><div class="nav-item"><a href="/System/" class="nav-link">
  System
</a></div> <a href="https://github.com/woytu/notes-vuepress" target="_blank" rel="noopener noreferrer" class="repo-link">
    GitHub
    <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav>  <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>IDE</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/IDE/" aria-current="page" class="sidebar-link">IDE</a></li><li><a href="/IDE/Chrome.html" class="sidebar-link">Chrome</a></li><li><a href="/IDE/Eclipse.html" class="sidebar-link">Eclipse</a></li><li><a href="/IDE/Git使用.html" class="sidebar-link">Git使用</a></li><li><a href="/IDE/Git安装与问题.html" class="sidebar-link">Git安装与问题</a></li><li><a href="/IDE/Git服务.html" class="sidebar-link">Git服务</a></li><li><a href="/IDE/IDEA使用.html" class="sidebar-link">IDEA使用</a></li><li><a href="/IDE/IDEA插件.html" class="sidebar-link">IDEA插件</a></li><li><a href="/IDE/IDEA设置.html" class="sidebar-link">IDEA设置</a></li><li><a href="/IDE/TextEditor.html" class="sidebar-link">TextTditor</a></li><li><a href="/IDE/VisualStudioCode.html" aria-current="page" class="active sidebar-link">VisualStudioCode</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/IDE/VisualStudioCode.html#flag" class="sidebar-link">Flag</a></li><li class="sidebar-sub-header"><a href="/IDE/VisualStudioCode.html#设置" class="sidebar-link">设置</a></li><li class="sidebar-sub-header"><a href="/IDE/VisualStudioCode.html#vscode快捷键" class="sidebar-link">VSCode快捷键</a></li><li class="sidebar-sub-header"><a href="/IDE/VisualStudioCode.html#vscode插件" class="sidebar-link">VSCode插件</a></li></ul></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="visualstudiocode"><a href="#visualstudiocode" class="header-anchor">#</a> VisualStudioCode</h1> <p></p><div class="table-of-contents"><ul><li><a href="#flag">Flag</a></li><li><a href="#设置">设置</a></li><li><a href="#vscode快捷键">VSCode快捷键</a><ul><li><a href="#常用general">常用General</a></li><li><a href="#基础编辑basic-editing">基础编辑Basic editing</a></li><li><a href="#导航navigation">导航Navigation</a></li><li><a href="#搜索和替换search-and-replace">搜索和替换Search and replace</a></li><li><a href="#多光标和选-multi-cursor-and-selection">多光标和选 Multi-cursor and selection</a></li><li><a href="#丰富的语言编辑rich-languages-editing">丰富的语言编辑Rich languages editing</a></li><li><a href="#编辑器管理editor-management">编辑器管理Editor management</a></li><li><a href="#文件管理file-management">文件管理File management</a></li><li><a href="#显示display">显示Display</a></li><li><a href="#调试debug">调试Debug</a></li><li><a href="#集成终端integrated-terminal">集成终端Integrated terminal</a></li></ul></li><li><a href="#vscode插件">VSCode插件</a></li></ul></div><p></p> <h2 id="flag"><a href="#flag" class="header-anchor">#</a> Flag</h2> <ul><li><a href="https://visualstudio.microsoft.com" target="_blank" rel="noopener noreferrer">https://visualstudio.microsoft.com<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/topics/vscode" target="_blank" rel="noopener noreferrer">https://github.com/topics/vscode<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <ul><li><a href="https://github.com/microsoft/vscode" target="_blank" rel="noopener noreferrer">https://github.com/microsoft/vscode<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> <ul><li><a href="https://code.visualstudio.com/Download" target="_blank" rel="noopener noreferrer">https://code.visualstudio.com/Download<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></li> <li><a href="https://github.com/microsoft/vscode-docs" target="_blank" rel="noopener noreferrer">https://github.com/microsoft/vscode-docs<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> <ul><li><a href="https://code.visualstudio.com/docs/getstarted/keybindings#_default-keyboard-shortcuts" target="_blank" rel="noopener noreferrer">默认键盘快捷键<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf" target="_blank" rel="noopener noreferrer">Keyboard shortcuts forWindows<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf" target="_blank" rel="noopener noreferrer">Keyboard shortcuts for macOS<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf" target="_blank" rel="noopener noreferrer">Keyboard shortcuts for Linux<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></li> <li><a href="https://www.php.cn/tool/vscode" target="_blank" rel="noopener noreferrer">VSCode教程<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/gr2m/app-stats-action" target="_blank" rel="noopener noreferrer">https://github.com/gr2m/app-stats-action<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <h2 id="设置"><a href="#设置" class="header-anchor">#</a> 设置</h2> <ul><li>缩进参考线： 首选项 -&gt; 设置 -&gt; 搜索 <code>renderIntentGuides</code> 将此选项改为true</li> <li>垂直标尺： 文件 -&gt; 首选项 -&gt; 设置 -&gt; 搜索 <code>editor.rulers</code></li></ul> <div class="language-json extra-class"><pre class="language-json"><code><span class="token punctuation">{</span>
    <span class="token property">&quot;workbench.activityBar.visible&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
    <span class="token property">&quot;workbench.statusBar.visible&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
    <span class="token property">&quot;editor.minimap.enabled&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
    <span class="token property">&quot;breadcrumbs.enabled&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
    <span class="token property">&quot;editor.wordWrapColumn&quot;</span><span class="token operator">:</span> <span class="token number">120</span><span class="token punctuation">,</span>
    <span class="token property">&quot;editor.wordWrap&quot;</span><span class="token operator">:</span> <span class="token string">&quot;wordWrapColumn&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;editor.fontSize&quot;</span><span class="token operator">:</span> <span class="token number">16</span><span class="token punctuation">,</span>
    <span class="token property">&quot;editor.renderIndentGuides&quot;</span><span class="token operator">:</span><span class="token boolean">true</span><span class="token punctuation">,</span>
    <span class="token property">&quot;editor.rulers&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token number">80</span><span class="token punctuation">,</span><span class="token number">120</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
    <span class="token property">&quot;editor.rulers&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
        <span class="token number">120</span>
    <span class="token punctuation">]</span><span class="token punctuation">,</span>
    <span class="token property">&quot;python.formatting.autopep8Args&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
        <span class="token string">&quot;--max-line-length&quot;</span><span class="token punctuation">,</span>
        <span class="token string">&quot;120&quot;</span><span class="token punctuation">,</span>
        <span class="token string">&quot;--experimental&quot;</span>
    <span class="token punctuation">]</span><span class="token punctuation">,</span>
    <span class="token property">&quot;python.formatting.yapfArgs&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
        <span class="token string">&quot;--style&quot;</span><span class="token punctuation">,</span>
        <span class="token string">&quot;{based_on_style: chromium, indent_width: 20}&quot;</span>
    <span class="token punctuation">]</span><span class="token punctuation">,</span>
    <span class="token property">&quot;python.formatting.blackArgs&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
        <span class="token string">&quot;--line-length&quot;</span><span class="token punctuation">,</span>
        <span class="token string">&quot;120&quot;</span>
    <span class="token punctuation">]</span>
<span class="token punctuation">}</span>
</code></pre></div><p><strong>开启智能提示</strong></p> <blockquote><p>进入设置，搜索<code>prevent</code>，取消此选项的勾选</p></blockquote> <h2 id="vscode快捷键"><a href="#vscode快捷键" class="header-anchor">#</a> VSCode快捷键</h2> <ul><li><a href="https://github.com/EdisonLeeeee/VSCode-keybord-shortcuts" target="_blank" rel="noopener noreferrer">https://github.com/EdisonLeeeee/VSCode-keybord-shortcuts<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <h3 id="常用general"><a href="#常用general" class="header-anchor">#</a> 常用General</h3> <table><thead><tr><th>按 Press</th> <th>功能 Function</th></tr></thead> <tbody><tr><td>Ctrl + Shift + P，F1</td> <td>显示命令面板 Show Command Palette</td></tr> <tr><td>Ctrl + P</td> <td>快速打开 Quick Open</td></tr> <tr><td>Ctrl + Shift + N</td> <td>新窗口/实例 New window/instance</td></tr> <tr><td>Ctrl + Shift + W</td> <td>关闭窗口/实例 Close window/instance</td></tr> <tr><td>Ctrl + ,</td> <td>用户设置 User Settings</td></tr> <tr><td>Ctrl + K Ctrl + S</td> <td>设置键盘快捷方式 Keyboard Shortcuts</td></tr></tbody></table> <h3 id="基础编辑basic-editing"><a href="#基础编辑basic-editing" class="header-anchor">#</a> 基础编辑Basic editing</h3> <table><thead><tr><th>按 Press</th> <th>功能 Function</th></tr></thead> <tbody><tr><td>Ctrl + X</td> <td>剪切行（空选定） Cut line (empty selection)</td></tr> <tr><td>Ctrl + C</td> <td>复制行（空选定）Copy line (empty selection)</td></tr> <tr><td>Alt + ↑ / ↓</td> <td>向上/向下移动行 Move line up/down</td></tr> <tr><td>Shift + Alt + ↓ / ↑</td> <td>向上/向下复制行 Copy line up/down</td></tr> <tr><td>Ctrl + Shift + K</td> <td>删除行 Delete line</td></tr> <tr><td>Ctrl + Enter</td> <td>在下面插入行 Insert line below</td></tr> <tr><td>Ctrl + Shift + Enter</td> <td>在上面插入行 Insert line above</td></tr> <tr><td>Ctrl + Shift + \</td> <td>跳到匹配的括号 Jump to matching bracket</td></tr> <tr><td>Ctrl + ] / [</td> <td>缩进/缩进行 Indent/outdent line</td></tr> <tr><td>Home</td> <td>转到行首 Go to beginning of line</td></tr> <tr><td>End</td> <td>转到行尾 Go to end of line</td></tr> <tr><td>Ctrl + Home</td> <td>转到文件开头 Go to beginning of file</td></tr> <tr><td>Ctrl + End</td> <td>转到文件末尾 Go to end of file</td></tr> <tr><td>Ctrl + ↑ / ↓</td> <td>向上/向下滚动行 Scroll line up/down</td></tr> <tr><td>Alt + PgUp / PgDown</td> <td>向上/向下滚动页面 Scroll page up/down</td></tr> <tr><td>Ctrl + Shift + [</td> <td>折叠（折叠）区域 Fold (collapse) region</td></tr> <tr><td>Ctrl + Shift + ]</td> <td>展开（未折叠）区域 Unfold (uncollapse) region</td></tr> <tr><td>Ctrl + K Ctrl + [</td> <td>折叠（未折叠）所有子区域 Fold (collapse) all subregions</td></tr> <tr><td>Ctrl + K Ctrl + ]</td> <td>展开（未折叠）所有子区域 Unfold (uncollapse) all subregions</td></tr> <tr><td>Ctrl + K Ctrl + 0</td> <td>折叠（折叠）所有区域 Fold (collapse) all regions</td></tr> <tr><td>Ctrl + K Ctrl + J</td> <td>展开（未折叠）所有区域 Unfold (uncollapse) all regions</td></tr> <tr><td>Ctrl + K Ctrl + C</td> <td>添加行注释 Add line comment</td></tr> <tr><td>Ctrl + K Ctrl + U</td> <td>删除行注释 Remove line comment</td></tr> <tr><td>Ctrl + /</td> <td>切换行注释 Toggle line comment</td></tr> <tr><td>Shift + Alt + A</td> <td>切换块注释 Toggle block comment</td></tr> <tr><td>Alt + Z</td> <td>切换换行 Toggle word wrap</td></tr> <tr><td>CTRL + ALT + X</td> <td>转换为大写 transform To Uppercase</td></tr> <tr><td>CTRL + ALT + Y</td> <td>转换为小写 transform To Lowercase</td></tr></tbody></table> <h3 id="导航navigation"><a href="#导航navigation" class="header-anchor">#</a> 导航Navigation</h3> <table><thead><tr><th>按 Press</th> <th>功能 Function</th></tr></thead> <tbody><tr><td>Ctrl + T</td> <td>显示所有符号 Show all Symbols</td></tr> <tr><td>Ctrl + G</td> <td>转到行... Go to Line...</td></tr> <tr><td>Ctrl + P</td> <td>转到文件... Go to File...</td></tr> <tr><td>Ctrl + Shift + O</td> <td>转到符号... Go to Symbol...</td></tr> <tr><td>Ctrl + Shift + M</td> <td>显示问题面板 Show Problems panel</td></tr> <tr><td>F8</td> <td>转到下一个错误或警告 Go to next error or warning</td></tr> <tr><td>Shift + F8</td> <td>转到上一个错误或警告 Go to previous error or warning</td></tr> <tr><td>Ctrl + Shift + Tab</td> <td>导航编辑器组历史记录 Navigate editor group history</td></tr> <tr><td>Alt + ← / →</td> <td>返回/前进 Go back / forward</td></tr> <tr><td>Ctrl + M</td> <td>切换选项卡移动焦点 Toggle Tab moves focus</td></tr></tbody></table> <h3 id="搜索和替换search-and-replace"><a href="#搜索和替换search-and-replace" class="header-anchor">#</a> 搜索和替换Search and replace</h3> <table><thead><tr><th>按 Press</th> <th>功能 Function</th></tr></thead> <tbody><tr><td>Ctrl + F</td> <td>查找 Find</td></tr> <tr><td>Ctrl + H</td> <td>替换 Replace</td></tr> <tr><td>F3 / Shift + F3</td> <td>查找下一个/上一个 Find next/previous</td></tr> <tr><td>Alt + Enter</td> <td>选择查找匹配的所有出现 Select all occurences of Find match</td></tr> <tr><td>Ctrl + D</td> <td>将选择添加到下一个查找匹配 Add selection to next Find match</td></tr> <tr><td>Ctrl + K Ctrl + D</td> <td>将最后一个选择移至下一个查找匹配项 Move last selection to next Find match</td></tr> <tr><td>Alt + C / R / W</td> <td>切换区分大小写/正则表达式/整个词 Toggle case-sensitive / regex / whole word</td></tr></tbody></table> <h3 id="多光标和选-multi-cursor-and-selection"><a href="#多光标和选-multi-cursor-and-selection" class="header-anchor">#</a> 多光标和选 Multi-cursor and selection</h3> <table><thead><tr><th>按 Press</th> <th>功能 Function</th></tr></thead> <tbody><tr><td>Alt +单击</td> <td>插入光标 Insert cursor</td></tr> <tr><td>Ctrl + Alt +↑/↓</td> <td>在上/下插入光标 Insert cursor above / below</td></tr> <tr><td>Ctrl + U</td> <td>撤消上一个光标操作 Undo last cursor operation</td></tr> <tr><td>Shift + Alt + I</td> <td>在选定的每一行的末尾插入光标 Insert cursor at end of each line selected</td></tr> <tr><td>Ctrl + L</td> <td>选择当前行 Select current line</td></tr> <tr><td>Ctrl + Shift + L</td> <td>选择当前选择的所有出现 Select all occurrences of current selection</td></tr> <tr><td>Ctrl + F2</td> <td>选择当前字的所有出现 Select all occurrences of current word</td></tr> <tr><td>Shift + Alt + →</td> <td>展开选择 Expand selection</td></tr> <tr><td>Shift + Alt + ←</td> <td>缩小选择 Shrink selection</td></tr> <tr><td>Shift + Alt + （拖动鼠标）</td> <td>列（框）选择 Column (box) selection</td></tr> <tr><td>Ctrl + Shift + Alt +（箭头键）</td> <td>列（框）选择 Column (box) selection</td></tr> <tr><td>Ctrl + Shift + Alt + PgUp / PgDown</td> <td>列（框）选择页上/下 Column (box) selection page up/down</td></tr></tbody></table> <h3 id="丰富的语言编辑rich-languages-editing"><a href="#丰富的语言编辑rich-languages-editing" class="header-anchor">#</a> 丰富的语言编辑Rich languages editing</h3> <table><thead><tr><th>按 Press</th> <th>功能 Function</th></tr></thead> <tbody><tr><td>Ctrl + 空格</td> <td>触发建议 Trigger suggestion</td></tr> <tr><td>Ctrl + Shift + Space</td> <td>触发器参数提示 Trigger parameter hints</td></tr> <tr><td>Shift + Alt + F</td> <td>格式化文档 Format document</td></tr> <tr><td>Ctrl + K Ctrl + F</td> <td>格式选定区域 Format selection</td></tr> <tr><td>F12</td> <td>转到定义 Go to Definition</td></tr> <tr><td>Alt + F12</td> <td>Peek定义 Peek Definition</td></tr> <tr><td>Ctrl + K F12</td> <td>打开定义到边 Open Definition to the side</td></tr> <tr><td>Ctrl + .</td> <td>快速解决 Quick Fix</td></tr> <tr><td>Shift + F12</td> <td>显示引用 Show References</td></tr> <tr><td>F2</td> <td>重命名符号 Rename Symbol</td></tr> <tr><td>Ctrl + K Ctrl + X</td> <td>修剪尾随空格 Trim trailing whitespace</td></tr> <tr><td>Ctrl + K M</td> <td>更改文件语言 Change file language</td></tr></tbody></table> <h3 id="编辑器管理editor-management"><a href="#编辑器管理editor-management" class="header-anchor">#</a> 编辑器管理Editor management</h3> <table><thead><tr><th>按 Press</th> <th>功能 Function</th></tr></thead> <tbody><tr><td>Ctrl + F4, Ctrl + W</td> <td>关闭编辑器 Close editor</td></tr> <tr><td>Ctrl + K F</td> <td>关闭文件夹 Close folder</td></tr> <tr><td>Ctrl + \</td> <td>拆分编辑器 Split editor</td></tr> <tr><td>Ctrl + 1 / 2 / 3</td> <td>聚焦到第 1，第 2 或第 3 编辑器组 Focus into 1st, 2nd or 3rd editor group</td></tr> <tr><td>Ctrl + K Ctrl + ← / →</td> <td>聚焦到上一个/下一个编辑器组 Focus into previous/next editor group</td></tr> <tr><td>Ctrl + Shift + PgUp / PgDown</td> <td>向左/向右移动编辑器 Move editor left/right</td></tr> <tr><td>Ctrl + K ← / →</td> <td>移动活动编辑器组 Move active editor group</td></tr></tbody></table> <h3 id="文件管理file-management"><a href="#文件管理file-management" class="header-anchor">#</a> 文件管理File management</h3> <table><thead><tr><th>按 Press</th> <th>功能 Function</th></tr></thead> <tbody><tr><td>Ctrl + N</td> <td>新文件 New File</td></tr> <tr><td>Ctrl + O</td> <td>打开文件... Open File...</td></tr> <tr><td>Ctrl + S</td> <td>保存 Save</td></tr> <tr><td>Ctrl + Shift + S</td> <td>另存为... Save As...</td></tr> <tr><td>Ctrl + K S</td> <td>全部保存 Save All</td></tr> <tr><td>Ctrl + F4</td> <td>关闭 Close</td></tr> <tr><td>Ctrl + K Ctrl + W</td> <td>关闭所有 Close All</td></tr> <tr><td>Ctrl + Shift + T</td> <td>重新打开关闭的编辑器 Reopen closed editor</td></tr> <tr><td>Ctrl + K Enter</td> <td>输入保持打开 Enter Keep Open</td></tr> <tr><td>Ctrl + Tab</td> <td>打开下一个 Open next</td></tr> <tr><td>Ctrl + Shift + Tab</td> <td>打开上一个 Open previous</td></tr> <tr><td>Ctrl + K P</td> <td>复制活动文件的路径 Copy path of active file</td></tr> <tr><td>Ctrl + K R</td> <td>显示资源管理器中的活动文件 Reveal active file in Explorer</td></tr> <tr><td>Ctrl + K O</td> <td>显示新窗口/实例中的活动文件 Show active file in new window/instance</td></tr></tbody></table> <h3 id="显示display"><a href="#显示display" class="header-anchor">#</a> 显示Display</h3> <table><thead><tr><th>按 Press</th> <th>功能 Function</th></tr></thead> <tbody><tr><td>F11</td> <td>切换全屏 Toggle full screen</td></tr> <tr><td>Shift + Alt + 0</td> <td>切换编辑器布局 Toggle editor layout</td></tr> <tr><td>Ctrl + = / -</td> <td>放大/缩小 Zoom in/out</td></tr> <tr><td>Ctrl + B</td> <td>切换侧栏可见性 Toggle Sidebar visibility</td></tr> <tr><td>Ctrl + Shift + E</td> <td>显示浏览器/切换焦点 Show Explorer / Toggle focus</td></tr> <tr><td>Ctrl + Shift + F</td> <td>显示搜索 Show Search</td></tr> <tr><td>Ctrl + Shift + G</td> <td>显示 Git Show Git</td></tr> <tr><td>Ctrl + Shift + D</td> <td>显示调试 Show Debug</td></tr> <tr><td>Ctrl + Shift + X</td> <td>显示扩展 Show Extensions</td></tr> <tr><td>Ctrl + Shift + H</td> <td>替换文件 Replace in files</td></tr> <tr><td>Ctrl + Shift + J</td> <td>切换搜索详细信息 Toggle Search details</td></tr> <tr><td>Ctrl + Shift + C</td> <td>打开新命令提示符/终端 Open new command prompt/terminal</td></tr> <tr><td>Ctrl + Shift +U</td> <td>显示输出面板 Show Output panel</td></tr> <tr><td>Ctrl + Shift + V</td> <td>切换 Markdown 预览 Toggle Markdown preview</td></tr> <tr><td>Ctrl + K V</td> <td>从旁边打开 Markdown 预览 Open Markdown preview to the side</td></tr> <tr><td>Ctrl + K Z</td> <td>打开禅模式（ Esc 键退出） Zen Mode (Esc Esc to ecit)</td></tr></tbody></table> <h3 id="调试debug"><a href="#调试debug" class="header-anchor">#</a> 调试Debug</h3> <table><thead><tr><th>按 Press</th> <th>功能 Function</th></tr></thead> <tbody><tr><td>F9</td> <td>切换断点 Toggle breakpoint</td></tr> <tr><td>F5</td> <td>开始/继续 Start/Continue</td></tr> <tr><td>Shift + F5</td> <td>停止 Stop</td></tr> <tr><td>F11 / Shift + F11</td> <td>下一步/上一步 Step into/out</td></tr> <tr><td>F10</td> <td>跳过 Step over</td></tr> <tr><td>Ctrl + K Ctrl + I</td> <td>显示悬停 Show hover</td></tr></tbody></table> <h3 id="集成终端integrated-terminal"><a href="#集成终端integrated-terminal" class="header-anchor">#</a> 集成终端Integrated terminal</h3> <table><thead><tr><th>按 Press</th> <th>功能 Function</th></tr></thead> <tbody><tr><td>Ctrl + `</td> <td>显示集成终端 Show integrated terminal</td></tr> <tr><td>Ctrl + Shift + `</td> <td>创建新终端 Create new terminal</td></tr> <tr><td>Ctrl + C</td> <td>复制选定 Copy selection</td></tr> <tr><td>Ctrl + V</td> <td>粘贴到活动端子 Paste into active terminal</td></tr> <tr><td>Ctrl + ↑ / ↓</td> <td>向上/向下滚动 Scroll up/down</td></tr> <tr><td>Shift + PgUp / PgDown</td> <td>向上/向下滚动页面 Scroll page up/down</td></tr> <tr><td>Ctrl + Home / End</td> <td>滚动到顶部/底部 Scroll to top/bottom</td></tr></tbody></table> <h2 id="vscode插件"><a href="#vscode插件" class="header-anchor">#</a> VSCode插件</h2> <ul><li><a href="https://github.com/redhat-developer" target="_blank" rel="noopener noreferrer">https://github.com/redhat-developer<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/vscode-icons/vscode-icons" target="_blank" rel="noopener noreferrer">https://github.com/vscode-icons/vscode-icons<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li>比较 <a href="https://github.com/moshfeu/vscode-compare-folders" target="_blank" rel="noopener noreferrer">https://github.com/moshfeu/vscode-compare-folders<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <p><strong>translate-var</strong></p> <ul><li><a href="https://marketplace.visualstudio.com/items?itemName=svenzhao.var-translation" target="_blank" rel="noopener noreferrer">https://marketplace.visualstudio.com/items?itemName=svenzhao.var-translation<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <blockquote><p>使用翻译api将其他语言到英文,转换成常见的变量命名形式</p></blockquote> <p><img src="https://github.com/SvenZhao/var-translation/raw/master/images/vscode1.gif" alt=""></p> <p><strong>PHP插件</strong></p> <blockquote><p><code>php Intelephense</code></p></blockquote> <p><strong>HTML插件</strong></p> <ul><li><code>JS-CSS-HTML Formatter</code></li> <li><code>ESLint</code></li></ul> <p><strong>XML格式化</strong></p> <ul><li><a href="https://marketplace.visualstudio.com/items?itemName=mikeburgh.xml-format" target="_blank" rel="noopener noreferrer">https://marketplace.visualstudio.com/items?itemName=mikeburgh.xml-format<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <p><strong>Python插件</strong></p> <ul><li><code>autopep8</code></li></ul> <blockquote><p>格式化代码</p></blockquote> <blockquote><p>用pip安装</p></blockquote> <div class="language-bash extra-class"><pre class="language-bash"><code>pip <span class="token function">install</span> autopep8
</code></pre></div><blockquote><p>在设置中加入</p></blockquote> <div class="language- extra-class"><pre class="language-text"><code>&quot;python.formatting.provider&quot;: &quot;autopep8&quot;
</code></pre></div><ul><li>pep8</li></ul> <blockquote><p>检查代码错误</p></blockquote> <blockquote><p>用pip安装</p></blockquote> <div class="language-bash extra-class"><pre class="language-bash"><code>pip <span class="token function">install</span> pep8
</code></pre></div><blockquote><p>在设置中加入</p></blockquote> <div class="language- extra-class"><pre class="language-text"><code>&quot;python.linting.pep8Enabled&quot;: true
</code></pre></div><ul><li>pylint</li></ul> <blockquote><p>用pip安装</p></blockquote> <div class="language-bash extra-class"><pre class="language-bash"><code>pip <span class="token function">install</span> pylint
</code></pre></div><blockquote><p>在设置中加入</p></blockquote> <div class="language- extra-class"><pre class="language-text"><code>&quot;python.linting.pylintEnabled&quot;: true
</code></pre></div><ul><li>flake8</li></ul> <blockquote><p>用pip安装</p></blockquote> <div class="language-bash extra-class"><pre class="language-bash"><code>pip <span class="token function">install</span> flake8
</code></pre></div><blockquote><p>在设置中加入</p></blockquote> <div class="language- extra-class"><pre class="language-text"><code>&quot;python.linting.flake8Enabled&quot;: true
</code></pre></div><p><strong>markdown</strong></p> <ul><li><a href="https://github.com/AlanWalk/markdown-toc" target="_blank" rel="noopener noreferrer">markdown-toc<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <p><strong>Cloud Toolkit</strong></p> <blockquote><p>帮助开发者更高效地开发、测试、诊断并部署应用。通过插件，可以将本地应用一键部署到任意服务器</p></blockquote> <ul><li><a href="https://marketplace.visualstudio.com/items?itemName=alibabacloud-cloudtoolkit.toolkit-vscode" target="_blank" rel="noopener noreferrer">https://marketplace.visualstudio.com/items?itemName=alibabacloud-cloudtoolkit.toolkit-vscode<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <p><strong>File Header</strong></p> <ul><li><a href="https://github.com/OBKoro1/koro1FileHeader" target="_blank" rel="noopener noreferrer">https://github.com/OBKoro1/koro1FileHeader<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/caizhengxin/vscodefileheader" target="_blank" rel="noopener noreferrer">https://github.com/caizhengxin/vscodefileheader<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/bookwormdevelopment/file-header" target="_blank" rel="noopener noreferrer">https://github.com/bookwormdevelopment/file-header<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/Raymondhsm/fileHeader" target="_blank" rel="noopener noreferrer">https://github.com/Raymondhsm/fileHeader<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/arjunkomath/js-file-header-vscode" target="_blank" rel="noopener noreferrer">https://github.com/arjunkomath/js-file-header-vscode<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/DMXL/js-file-header-vscode" target="_blank" rel="noopener noreferrer">https://github.com/DMXL/js-file-header-vscode<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/zhaopengme/vscode-fileheader" target="_blank" rel="noopener noreferrer">https://github.com/zhaopengme/vscode-fileheader<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/woytu/notes-vuepress/edit/master//IDE/VisualStudioCode.md" target="_blank" rel="noopener noreferrer">在 GitHub 上编辑此页</a> <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <div class="last-updated"><span class="prefix">上次更新:</span> <span class="time">2021-06-09 12:10:39</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
      ←
      <a href="/IDE/TextEditor.html" class="prev">
        TextTditor
      </a></span> <!----></p></div> </main></div><div class="global-ui"><!----></div></div>
    <script src="/assets/js/app.269009d6.js" defer></script><script src="/assets/js/3.974b9720.js" defer></script><script src="/assets/js/23.f50adb15.js" defer></script>
  </body>
</html>
